Post

Replies

Boosts

Views

Activity

Reply to [NSUserDefaults(NSUserDefaults) _initWithSuiteName:container:] Crash
Hi @Allen-Chen , from this crash it quite difficult to understand what happens. Anyway, It seems that app try to read CFBundleInfoDictionary and crash on __CFCheckCFInfoPACSignature , that if I remember correctly its a low level API on ARM for memory corruption. Probably you could enable on Xcode memory debug tools. Read this topics, it seems similar to your use case https://forums.developer.apple.com/forums/thread/764538 Regards Rob
1d
Reply to [NSUserDefaults(NSUserDefaults) _initWithSuiteName:container:] Crash
Hi @Allen-Chen , from developer documentation of InitWithSuiteName You can use this method when developing an app suite, to share preferences or other data among the apps, or when developing an app extension, to share preferences or other data between the extension and its containing app. Then , you should use this method when you defined an app group and you want to share preferences between apps, widget and extensions. In other use cases, you should use standard user defaults. Bye Rob
1d